<?php
/* @var $this AdsController */
/* @var $model Ads */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'ads_id'); ?>
		<?php echo $form->textField($model,'ads_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_title'); ?>
		<?php echo $form->textField($model,'ads_title',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_desc'); ?>
		<?php echo $form->textArea($model,'ads_desc',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_url'); ?>
		<?php echo $form->textField($model,'ads_url',array('size'=>60,'maxlength'=>360)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_begindate'); ?>
		<?php echo $form->textField($model,'ads_begindate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_duration'); ?>
		<?php echo $form->textField($model,'ads_duration'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_website'); ?>
		<?php echo $form->textField($model,'ads_website',array('size'=>60,'maxlength'=>120)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_customer_name'); ?>
		<?php echo $form->textField($model,'ads_customer_name',array('size'=>40,'maxlength'=>40)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_phone'); ?>
		<?php echo $form->textField($model,'ads_phone',array('size'=>40,'maxlength'=>40)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_order'); ?>
		<?php echo $form->textField($model,'ads_order'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ads_image'); ?>
		<?php echo $form->textField($model,'ads_image',array('size'=>60,'maxlength'=>120)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->